package nancal.mp.db.es.entity

import nbcp.base.db.annotation.DbEntityGroup
import nbcp.myoql.db.comm.DbDefine
import nbcp.myoql.db.comm.DbDefines
import nbcp.myoql.db.es.base.IEsDocument
import java.math.BigDecimal

@DbEntityGroup("system")
@DbDefines(
    DbDefine(
        "title",
        """{"type":"text","index":"true","analyzer":"ik_max_word","search_analyzer":"ik_max_word"}"""
    ),
    DbDefine(
        "content",
        """{"type":"text","index":"true","analyzer":"ik_max_word","search_analyzer":"ik_max_word"}"""
    ),
    DbDefine(
        "remark",
        """{"type":"text","index":"true","analyzer":"ik_max_word","search_analyzer":"ik_max_word"}"""
    )
)
class EsZaoInformation : IEsDocument {
    var uuid: String? = null
    var type: Int? = null
    var title: String? = null
    var content: String? = null
    var image: String? = null
    var remark: String? = null
    var price: BigDecimal? = null
    var tgName: Any? = null
}